<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="UTF-8" />
	<title>日本酒マニア.com（日本酒・地酒 通販）</title>
	<meta name="Keywords" content="酒,日本酒,地酒,酒マニア,通販,ショッピング,検索" />
	<meta name="Description" content="日本酒こだわり検索・通販サイト" />
  <%= stylesheet_link_tag "application" %>
  <%= stylesheet_link_tag "style" %>
	<%= stylesheet_link_tag "form.css" %>
	<%= javascript_include_tag "main.js" %>
	<%= javascript_include_tag "jquery.min.js" %>
	<%
		case params["controller"]
			when "products"
				@currslide = 0
			when "makers"
				@currslide = 1
			else
				@currslide = 2
		end
	%>
	<%= javascript_include_tag "desSlideshow.js" %>
	<script type="text/javascript">
	    $(function() {
	        $("#desSlideshow1").desSlideshow({
	            autoplay: 'disable',//option:enable,disable
	            slideshow_width: '960',//slideshow window width
	            slideshow_height: '200',//slideshow window height
	            thumbnail_width: '200',//thumbnail width
	            time_Interval: '4000',//Milliseconds
	            directory: '<%= asset_path('./') %>'// flash-on.gif and flashtext-bg.jpg directory
	        }, <%= @currslide %>);
	    });
	</script>
	<!--[if lte IE 8]>
	<script src="js/html5.js"></script>
	<![endif]-->

  <!-- dropdown menu -->
  <!--%= stylesheet_link_tag "style" %-->
        
  <!--%= javascript_include_tag "jquery-1.3.1.min.js" %--> 
  <%= javascript_include_tag "hoverIntent.js" %>
  <%= javascript_include_tag "jquery.dropdown.js" %>

	<!-- Google Analytics -->
	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-26039296-1']);
	  _gaq.push(['_trackPageview']);
	
	  (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
	</script>
</head>

<body>
	<div id="container">
	<header>
	<h1><%= image_tag asset_path("logo.gif"), :alt => "ロゴ" %></h1>
	<nav>
	<ul>
	  <!--li class="nav_a"><%= link_to 'HOME', :controller => :index %></li-->
	  <li><%= link_to 'HOME', :controller => :index %></li>
	  <li><%= link_to "新着情報", :controller => :index, :action => :news %></li>
	  <li><%= link_to "リンク", :controller => :index, :action => :link %></li>
	  <li><%= link_to "お問い合わせ", :controller => :index, :action => :contact %></li>
	  <li><%= link_to "記者募集", :controller => :index, :action => :recruit %></li>
	</ul>
	</nav>
	</header>
	<div id="desSlideshow1" class="desSlideshow">
	<div class="switchBigPic">
	    <div>
	    <a title="銘柄検索" href="#"><%= image_tag asset_path("006.jpg"), :alt => "銘柄検索" %></a>
	        <p><strong>銘柄検索</strong><br/>
	        </p>
	    </div>
	    <div>
	    <a title="蔵元検索" href="#"><img class="pic" src="<%= asset_path("004.jpg") %>" alt="蔵元検索"></a>
	        <p><strong>蔵元検索</strong><br/>
	        </p>
	    </div>
	    <div>
	    <a title="感性検索" href="#"><img class="pic" src="<%= asset_path("001.jpg") %>" alt="感性検索"></a>
	        <p><strong>感性検索</strong><br/>
	        </p>
	    </div>
	    <div>
	    <a title="地図で検索" href="#"><img class="pic" src="<%= asset_path("003.jpg") %>" alt="地図で検索"></a>
	        <p><strong>地図で検索</strong><br/>
	        </p>
	    </div>
	</div>
	<ul class="nav">
    <li><%= link_to "銘柄検索", :controller => :products %></li>
	  <li><%= link_to "蔵元検索", :controller => :makers %></li>
	  <li><%= link_to "感性検索", :controller => :sensitive %></li>
	  <li><%= link_to "地図で検索", :controller => :area, :action => :search, :id => 0 %></li>
	</ul>
	</div>
	<section>
	<article class="ss">
	<h1>新着情報</h1>
	<h2>銘柄を追加</h2>
	<p>沢の鶴</p>
	<p>山田錦</p>
	<h3><%= link_to "READ MORE", :controller => :index, :action => :news %></h3>
	</article>
	<article class="sl">
	<h1><%= @title %></h1>
	<h2><%= @subtitle %></h2>
	<%= yield %>
	</article>
	<aside>
	</aside>
	</section>
	</div>
	<footer>
	<div id="foot">
	<div id="follow"> 
	  <h2>Follow us</h2>
	  <p>Twitter,Facebookグループ,メーリングリストにて
	  新着記事、お買い得情報などを、いち早くお届けします。 </p>
	  <h3><a href="#"><%= image_tag asset_path("icon/facebook.png"), :alt => "facebook" %></a>
	  	<a href="#"><%= image_tag asset_path("icon/twitter.png"), :alt => "twitter" %></a>
	  </h3>
	</div>
	<nav>
	<h2>MENU </h2>
	<ul>
	  <li><%= link_to 'HOME', :controller => :index %></li>
	  <li><%= link_to "新着情報", :controller => :index, :action => :news %></li>
	  <li><%= link_to "リンク", :controller => :index, :action => :link %></li>
  </ul>
	</nav>
	<nav>
	<ul class="footer_sub">
	  <li><%= link_to "お問い合わせ", :controller => :index, :action => :contact %></li>
	  <li><%= link_to "記者募集", :controller => :index, :action => :recruit %></li>
  </ul>
	</nav>
	<div id="pr">
	　<!--削除禁止ここから -->
	  <p><a href="http://www.templateya.com/" title="テンプレート屋.com" target="_blank">Template by テンプレート屋.com</a></p>
	  <p>&lt;PR&gt; <a href="http://www.felibe.com/" title="ホームページ制作のFelibe" target="_blank">Felibe</a></p>
	  <!--削除禁止ここまで -->
	</div>
	<div id="copy">
	  <h3>Copyright &copy; 日本酒マニア.com All rights reserved.</h3>
	</div>
	</div>
	</footer>
</body>
</html>
